  <div class="modal-header">
    <h4 class="modal-title">基本信息</h4>
  </div>
  <div class="modal-body">
  
    <div class="container-fluid form-horizontal" ng-if="djp=='0'">
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">信息名称</label>
            <div class="col-xs-6 input-group" >
                <input type="text" class="form-control" ng-model="obj.info_title">
            </div>
        </div>
         <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">所属分类</label>
            <div class="col-xs-6 input-group" >
                <ui-select ng-model="obj.info_category_id" theme="bootstrap" ng-keyup="myKeyup($event)">
                    <ui-select-match placeholder="请选择分类">
                        {{$select.selected.category_name}}
                    </ui-select-match>
                    <ui-select-choices repeat="item.id as item in category | filter: $select.search">
                        <span ng-bind-html="item.category_name | highlight: $select.search"></span>
                    </ui-select-choices>
                </ui-select>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">信息内容</label>
            <div class="col-xs-6 input-group" >
                <div class="ueditor" ng-model="obj.info_content"></div>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">信息作者</label>
            <div class="col-xs-6 input-group" >
                <input type="text" class="form-control" ng-model="obj.info_author">
            </div>
        </div>
        <!-- <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">自动发布时间</label>
            <div class="col-xs-6 input-group">
                <input class="form-control" datetimepicker ng-model="vm.data" options="options"/>
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">发布停止时间</label>
            <div class="col-xs-6 input-group">
                <input class="form-control" datetimepicker ng-model="vm.data1" options="options"/>
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div> -->

        <div class="form-group" ng-show="obj.info_state==2">
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">审核不通过原因</label>
            <div class="col-xs-6" >
                <p class="form-control-static">{{obj.audit_reason}}</p>
            </div>
        </div>
    </div>


    <div class="container-fluid form-horizontal" ng-if="djp=='1'">
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">信息名称</label>
            <div class="col-xs-6" >
                <p class="form-control-static">{{obj.info_title}}</p>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">所属分类</label>
            <div class="col-xs-6" >
                <p class="form-control-static">{{obj.info_category_name}}</p>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">信息内容</label>
            <div class="col-xs-6" >
                <p class="form-control-static" ng-bind-html="obj.info_content"></p>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">信息作者</label>
            <div class="col-xs-6" >
                <p class="form-control-static">{{obj.info_author}}</p>
            </div>
        </div>
        <!-- <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">自动发布时间</label>
            <div class="col-xs-6" >
                <p class="form-control-static">{{obj.release_time}}</p>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-xs-1 control-label"></label>
            <label class="col-xs-2 control-label">发布停止时间</label>
            <div class="col-xs-6" >
                <p class="form-control-static">{{obj.release_end_time}}</p>
            </div>
        </div> -->
    </div>
  
  </div>

  <div class="modal-footer" ng-if="what=='create'&&djp=='0'">
      <button class="btn btn-success" type="button" ng-click="save()">保存</button>
      <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
  </div>
  <div class="modal-footer" ng-if="what=='edit'&&djp=='0'">
      <button class="btn btn-success" type="button" ng-click="save()" ng-show="obj.info_state==0 || obj.info_state==2">保存</button>
      <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
  </div>
    <div class="modal-footer" ng-if="djp=='1'">
      <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
  </div>
    
  